#pragma once

class ResourceBag
{
private:
	int IRON;
	int SULFUR;
	int GEM;
public:
	ResourceBag():IRON(0),SULFUR(0),GEM(0){}

	const int CheckIron() const { return IRON; }
	const void AddIron() {IRON++;}
	const void AddIron(int I) {IRON+=I;}
	const void RemoveIron(int I){IRON-=I;}

	const int CheckSulfur() const { return SULFUR; }
	const void AddSulfur() {SULFUR++;}
	const void AddSulfur(int S) {SULFUR+=S;}
	const void RemoveSulfur(int S){SULFUR-=S;}

	const int CheckGem() const { return GEM; }
	const void AddGem() {GEM++;}
	const void AddGem(int G) {GEM+=G;}
	const void RemoveGem(int G){GEM-=G;}
};